﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TracyGUI.UIComponent
{
    public class UIDataWrapper<T>
    {
        public T Data
        {
            get;
            set;
        }

        public string Text
        {
            get;
            set;
        }

        public override string ToString()
        {
            return Text;
        }

        public UIDataWrapper(T data, string text)
        {
            Data = data;
            Text = text;
        }
    }
}
